namespace G1.EngineV
{

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    using Android.Graphics;
    using Android.Util;

    public abstract class StaticSprite : Sprite 
    {

        public override void SetGraphicAsset( Asset Asset )
        {
            this.GraphicAsset = Asset;
            this.Left = 0;
            this.Top = 0;
            this.Width = Asset.GetBitmap().Width;
            this.Height = Asset.GetBitmap().Height;
        }

        public override void Render( Canvas Canvas )
        {
            Canvas.DrawBitmap( this.GraphicAsset.GetBitmap(), this.Left, this.Top, null );
        }

    }
}